<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: ProcessCore.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_process_core_8cs_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ProcessCore.cs</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_process_core_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">using</span> System;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">using</span> System.Collections.Generic;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">using</span> System.Diagnostics.Contracts;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">using</span> System.Linq;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">using</span> System.Reflection;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">using</span> System.Runtime.CompilerServices;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">using</span> System.Text;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">using</span> System.Threading;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">using</span> System.Threading.Tasks;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">using</span> SystemSharp.Analysis;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">using</span> SystemSharp.Common;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">using</span> SystemSharp.Components.Transactions;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">using</span> SystemSharp.Meta;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">using</span> SystemSharp.SysDOM;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">namespace </span>SystemSharp.Components</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_sensitive.html">   40</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_components_1_1_i_sensitive.html">ISensitive</a></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    {</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_sensitive.html#ab957c11f09cc9931b4552657369235ec">   45</a></span>&#160;        IEnumerable&lt;AbstractEvent&gt; Sensitivity { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    }</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_implementable.html">   51</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_components_1_1_i_implementable.html">IImplementable</a></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keywordtype">void</span> Implement(<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html">IAlgorithmBuilder</a> builder);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_implementable_by_expr.html">   62</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_components_1_1_i_implementable_by_expr.html">IImplementableByExpr</a></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> GetExpression();</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordtype">object</span> GetSample();</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    }</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_process.html">   78</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a>: </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <a class="code" href="interface_system_sharp_1_1_components_1_1_i_sensitive.html">ISensitive</a>, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_implementable.html">IImplementable</a></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    {</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_process.html#a115074ecbf6bfe5623c35223999c955a">   84</a></span>&#160;        Action Operation { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_process.html#ad184302e5683cbb10db7db6c7d1ec07a">   89</a></span>&#160;        IEnumerable&lt;ISignal&gt; DrivenSignals { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    }</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">   96</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a> :</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <a class="code" href="interface_system_sharp_1_1_components_1_1_i_sensitive.html">ISensitive</a>, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_implementable_by_expr.html">IImplementableByExpr</a></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    {</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html#a1daee36440968f8a50af663c42661d5f">  102</a></span>&#160;        Func&lt;object&gt; Operation { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    }</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">  110</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a>&lt;T&gt; : </div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    {</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html#af6ebed722447380f6c1566ce72bc638a">  116</a></span>&#160;        <span class="keyword">new</span> Func&lt;T&gt; Operation { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    }</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_comb_signal_sink_3_01_t_01_4.html">  124</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span>ICombSignalSink&lt;T&gt;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> Connect(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> source);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    }</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    [Obsolete(<span class="stringliteral">&quot;Part of an out-dated concept, do not use.&quot;</span>)]</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_sync_signal_sink_3_01_t_01_4.html">  133</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span>ISyncSignalSink&lt;T&gt;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    {</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_redirect_rewrite_call.html">RedirectRewriteCall</a>]</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        <span class="keywordtype">void</span> Write(T value);</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html">  144</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span>ISignalSink&lt;T&gt;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    {</div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html#a3e63a98e906fec3ec0ff41cfdc9535ac">  149</a></span>&#160;        <a class="code" href="interface_system_sharp_1_1_components_1_1_i_comb_signal_sink_3_01_t_01_4.html">ICombSignalSink&lt;T&gt;</a> Comb { [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">StaticEvaluationDoNotAnalyze</a>] <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        [Obsolete(<span class="stringliteral">&quot;Part of an out-dated concept, do not use.&quot;</span>)]</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html#a8de1d3fafc4ca9045f1544df99a4893c">  152</a></span>&#160;        <a class="code" href="interface_system_sharp_1_1_components_1_1_i_sync_signal_sink_3_01_t_01_4.html">ISyncSignalSink&lt;T&gt;</a> Sync { [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">StaticEvaluationDoNotAnalyze</a>] <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    }</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html">  159</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span>DefaultSignalSink&lt;T&gt; : ISignalSink&lt;T&gt;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    {</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html#a7b6b510c529258ba508364ac54037aca">  161</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_comb_signal_sink_3_01_t_01_4.html">ICombSignalSink&lt;T&gt;</a> Comb { [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">StaticEvaluationDoNotAnalyze</a>] <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html#aefbeabd8febb72f825e91c1c2f402fd6">  162</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_sync_signal_sink_3_01_t_01_4.html">ISyncSignalSink&lt;T&gt;</a> Sync { [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">StaticEvaluationDoNotAnalyze</a>] <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html#a915e743cda908b484b7d855b1cb5099b">  168</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html#a915e743cda908b484b7d855b1cb5099b">DefaultSignalSink</a>(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_comb_signal_sink_3_01_t_01_4.html">ICombSignalSink&lt;T&gt;</a> comb)</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        {</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;            Comb = comb;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        }</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        [Obsolete(<span class="stringliteral">&quot;Part of an out-dated concept, do not use.&quot;</span>)]</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html#ac201cae97512079b236b6d2a18b99a48">  174</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html#ac201cae97512079b236b6d2a18b99a48">DefaultSignalSink</a>(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_sync_signal_sink_3_01_t_01_4.html">ISyncSignalSink&lt;T&gt;</a> sync)</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        {</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;            Sync = sync;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        }</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    }</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class, AllowMultiple = <span class="keyword">false</span>, Inherited = <span class="keyword">true</span>)]</div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_hide_declaration.html">  185</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_components_1_1_hide_declaration.html">HideDeclaration</a> : <a class="code" href="class_system_sharp_1_1_components_1_1_rewrite_declaration.html">RewriteDeclaration</a>, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_do_not_analyze.html">IDoNotAnalyze</a></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    {</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_hide_declaration.html#a875e32e7e2851b797b67f03123df93e2">  187</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_components_1_1_hide_declaration.html#a875e32e7e2851b797b67f03123df93e2">ImplementDeclaration</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> container, System.Reflection.MemberInfo declSite)</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        {</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;        }</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_hide_declaration.html#acd088b05cd4080ac48d9b0f377a80733">  191</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_components_1_1_hide_declaration.html#acd088b05cd4080ac48d9b0f377a80733">ImplementDeclaration</a>(LocalVariableInfo lvi, <a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_decompiler.html">IDecompiler</a> decomp)</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        {</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;            decomp.HideLocal(lvi);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        }</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    }</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_sink.html">  200</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_components_1_1_signal_sink.html">SignalSink</a></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    {</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>ToCombSink&lt;T&gt; : ICombSignalSink&lt;T&gt;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        {</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;            <span class="keyword">public</span> ToCombSink(<a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> signal)</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;            {</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;                <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> = signal;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;            }</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> Connect(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> source)</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;            {</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;                <span class="keywordflow">return</span> Signal.Drive(source);</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            }</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        }</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        <span class="keyword">private</span> <span class="keyword">interface </span>IHasSignalBase</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        {</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;            <a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a> <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        }</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        [AttributeUsage(AttributeTargets.Method, AllowMultiple = <span class="keyword">false</span>, Inherited = <span class="keyword">true</span>)]</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>WriteToSyncSignal : <a class="code" href="class_system_sharp_1_1_components_1_1_rewrite_call.html">RewriteCall</a></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        {</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;            <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> Rewrite(<a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html">CodeDescriptor</a> decompilee, MethodBase callee, <a class="code" href="struct_system_sharp_1_1_analysis_1_1_stack_element.html">StackElement</a>[] args, <a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_decompiler.html">IDecompiler</a> stack, <a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_function_builder.html">IFunctionBuilder</a> builder)</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;            {</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;                IHasSignalBase sink = (IHasSignalBase)args[0].Sample;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;                <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a> next = SignalRef.Create(sink.Signal, SignalRef.EReferencedProperty.Next);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;                builder.Store(next, args[1].Expr);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;            }</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        }</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>ToSyncSink&lt;T&gt; : ISyncSignalSink&lt;T&gt;, IHasSignalBase</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        {</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            <span class="keyword">public</span> ToSyncSink(<a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> signal)</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;            {</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;                <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> = signal;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            }</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="preprocessor">            #region ISyncSignalSink&lt;T&gt; Member</span></div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;            [WriteToSyncSignal]</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">void</span> Write(T value)</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;            {</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;                Signal.Next = value;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;            }</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="preprocessor">            #endregion</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="preprocessor">            #region IHasSignalBase Member</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;            <a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a> IHasSignalBase.Signal</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;            {</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> (<a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a>)<a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a>; }</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            }</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="preprocessor">            #endregion</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="preprocessor"></span>        }</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>NilSink&lt;T&gt; : ICombSignalSink&lt;T&gt;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        {</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> Connect(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> source)</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;            {</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;                <span class="keywordflow">return</span> Processes.Nil();</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;            }</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        }</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>MultiSink&lt;T&gt; : ICombSignalSink&lt;T&gt;</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;        {</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;ICombSignalSink&lt;T&gt;&gt; Sinks { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;            <span class="keyword">public</span> MultiSink(IEnumerable&lt;<a class="code" href="interface_system_sharp_1_1_components_1_1_i_comb_signal_sink_3_01_t_01_4.html">ICombSignalSink&lt;T&gt;</a>&gt; sinks)</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;            {</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;                Sinks = sinks;</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;            }</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> Connect(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> source)</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;            {</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;                <span class="keywordflow">return</span> Processes.Fork(</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;                    Sinks.Select(s =&gt; s.Connect(source)).ToArray());</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;            }</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        }</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">StaticEvaluationDoNotAnalyze</a>]</div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_sink.html#a4d8b5447738b51a2fb26d80dcfcdb849">  292</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html">ISignalSink&lt;T&gt;</a> AsCombSink&lt;T&gt;(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> signal)</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        {</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html">DefaultSignalSink&lt;T&gt;</a>(<span class="keyword">new</span> ToCombSink&lt;T&gt;(signal));</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        }</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">StaticEvaluationDoNotAnalyze</a>]</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        [Obsolete(<span class="stringliteral">&quot;Part of an out-dated concept, do not use.&quot;</span>)]</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_sink.html#a5ff16dff8bf7a0f9fcd8007943c7eebb">  299</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html">ISignalSink&lt;T&gt;</a> AsSyncSink&lt;T&gt;(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> signal)</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        {</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html">DefaultSignalSink&lt;T&gt;</a>(<span class="keyword">new</span> ToSyncSink&lt;T&gt;(signal));</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        }</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">StaticEvaluationDoNotAnalyze</a>]</div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_sink.html#a192de9f6f0b4bda6954c1a1fa260eeda">  309</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html">ISignalSink&lt;T&gt;</a> Nil&lt;T&gt;()</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        {</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html">DefaultSignalSink&lt;T&gt;</a>(<span class="keyword">new</span> NilSink&lt;T&gt;());</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        }</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">StaticEvaluationDoNotAnalyze</a>]</div>
<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_sink.html#a3be52c68e25169db614937ffc70af97e">  320</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html">ISignalSink&lt;T&gt;</a> Combine&lt;T&gt;(params <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html">ISignalSink&lt;T&gt;</a>[] sinks)</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;        {</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html">DefaultSignalSink&lt;T&gt;</a>(<span class="keyword">new</span> MultiSink&lt;T&gt;(sinks.Select(s =&gt; s.Comb)));</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        }</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;    }</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;</div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_source.html">  329</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_components_1_1_signal_source.html">SignalSource</a></div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    {</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>FromSignalSource : <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;        {</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a> <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;            <span class="keyword">public</span> Func&lt;object&gt; Operation { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;            <span class="keyword">public</span> FromSignalSource(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a> signal)</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;            {</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;                <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> = signal;</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;                Operation = () =&gt; <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a>.CurObject;</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;                Sensitivity = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_components_1_1_abstract_event.html">AbstractEvent</a>[] { <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a>.ChangedEvent };</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;            }</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;            <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> GetExpression()</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;            {</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_literal_reference.html">LiteralReference</a>(<a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a>.ToSignalRef(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#ac2602b9335fc17657b0147b8b917c727">EReferencedProperty</a>.Cur));</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;            }</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">object</span> GetSample()</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;            {</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;                <span class="keywordflow">return</span> ((<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a>)<a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a>).InitialValueObject;</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;            }</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;        }</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>FromSignalSource&lt;T&gt; : <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a>&lt;T&gt;</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;        {</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_in_3_01_t_01_4.html">In&lt;T&gt;</a> <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;            <span class="keyword">public</span> Func&lt;T&gt; Operation { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;            </div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;            Func&lt;object&gt; ISignalSource.Operation</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;            {</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> () =&gt; Operation(); }</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;            }</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;            <span class="keyword">public</span> FromSignalSource(In&lt;T&gt; signal)</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;            {</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;                <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a> = signal;</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;                Operation = () =&gt; <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a>.Cur;</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;                Sensitivity = <span class="keyword">new</span> AbstractEvent[] { <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">Signal</a>.ChangedEvent };</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;            }</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;            <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> GetExpression()</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;            {</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;                ISignal signal = (ISignal)Signal;</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_literal_reference.html">LiteralReference</a>(signal.ToSignalRef(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#ac2602b9335fc17657b0147b8b917c727">EReferencedProperty</a>.Cur));</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;            }</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">object</span> GetSample()</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;            {</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;                <span class="keywordflow">return</span> ((ISignal)Signal).InitialValueObject;</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;            }</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;        }</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;        <span class="keyword">private</span> <span class="keyword">abstract</span> <span class="keyword">class </span>ConstSignalSourceBase: </div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;            IImplementableByExpr</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        {</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;            <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> ValueExpr { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<span class="preprocessor">            #region IImplementableByExpr Member</span></div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;            <span class="keyword">public</span> <span class="keyword">abstract</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> GetExpression();</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;            <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keywordtype">object</span> GetSample();</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="preprocessor">            #endregion</span></div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;<span class="preprocessor"></span>        }</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>ConstSignalSource :</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;            ConstSignalSourceBase,</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;            ISignalSource</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;        {</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;            <span class="keyword">private</span> <span class="keywordtype">object</span> _value;</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;            <span class="keyword">public</span> Func&lt;object&gt; Operation { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;            <span class="keyword">public</span> ConstSignalSource(<span class="keywordtype">object</span> value)</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;            {</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;                _value = value;</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;                Operation = () =&gt; _value;</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;                Sensitivity = <span class="keyword">new</span> AbstractEvent[0];</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;                ValueExpr = LiteralReference.CreateConstant(_value);</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;            }</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;<span class="preprocessor">            #region IImplementableByExpr Member</span></div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;            <span class="keyword">public</span> <span class="keyword">override</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> GetExpression()</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;            {</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;                <span class="keywordflow">return</span> ValueExpr;</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;            }</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;            <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">object</span> GetSample()</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;            {</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;                <span class="keywordflow">return</span> _value;</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;            }</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;<span class="preprocessor">            #endregion</span></div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;<span class="preprocessor"></span>        }</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>ConstSignalSource&lt;T&gt; : </div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;            ConstSignalSourceBase,</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;            ISignalSource&lt;T&gt;</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;        {</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;            <span class="keyword">private</span> T _value;</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;            <span class="keyword">public</span> Func&lt;T&gt; Operation { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;            <span class="keyword">public</span> ConstSignalSource(T value)</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;            {</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;                _value = value;</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;                Operation = () =&gt; _value;</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;                Sensitivity = <span class="keyword">new</span> AbstractEvent[0];</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;                ValueExpr = LiteralReference.CreateConstant(_value);</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;            }</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;<span class="preprocessor">            #region IImplementableByExpr Member</span></div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;            <span class="keyword">public</span> <span class="keyword">override</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> GetExpression()</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;            {</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;                <span class="keywordflow">return</span> ValueExpr;</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;            }</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;            <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">object</span> GetSample()</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;            {</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;                <span class="keywordflow">return</span> _value;</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;            }</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;<span class="preprocessor">            #endregion</span></div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;<span class="preprocessor">            #region ISignalSource Member</span></div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;            Func&lt;object&gt; ISignalSource.Operation</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;            {</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> () =&gt; Operation(); }</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;            }</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;<span class="preprocessor">            #endregion</span></div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;<span class="preprocessor"></span>        }</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>RewriteCreateConstSignalSource : RewriteCall</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;        {</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;            <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> Rewrite(<a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html">CodeDescriptor</a> decompilee, MethodBase callee, <a class="code" href="struct_system_sharp_1_1_analysis_1_1_stack_element.html">StackElement</a>[] args, <a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_decompiler.html">IDecompiler</a> stack, <a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_function_builder.html">IFunctionBuilder</a> builder)</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;            {</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;                <span class="keywordflow">if</span> (args[0].Sample == null)</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;                    <span class="keywordflow">throw</span> <span class="keyword">new</span> InvalidOperationException(<span class="stringliteral">&quot;null sample&quot;</span>);</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;                ConstSignalSourceBase src = (ConstSignalSourceBase)callee.Invoke(args[0].<a class="code" href="struct_system_sharp_1_1_analysis_1_1_stack_element.html#a6242e45d8a7ad9605b98940dc8b0815c">Sample</a>);</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;                src.ValueExpr = args[0].Expr;</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;                <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> srcex = LiteralReference.CreateConstant(src);</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;                stack.Push(srcex, src);</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;            }</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;        }</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;        [StaticEvaluation]</div>
<div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_source.html#aca1a580f380efa369ae64b7016b79619">  489</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> AsSignalSource&lt;T&gt;(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_in_3_01_t_01_4.html">In&lt;T&gt;</a> signal)</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;        {</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> FromSignalSource&lt;T&gt;(signal);</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;        }</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation.html">StaticEvaluation</a>]</div>
<div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_source.html#a2ad81692595278a330a70018bec1e114">  498</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a> <a class="code" href="class_system_sharp_1_1_components_1_1_signal_source.html#a2ad81692595278a330a70018bec1e114">AsSignalSource</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a> signal)</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;        {</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> FromSignalSource(signal);</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;        }</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;        [RewriteCreateConstSignalSource]</div>
<div class="line"><a name="l00509"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_source.html#afad4341fef68cf2e714012cf7e40203c">  509</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> Create&lt;T&gt;(T value)</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;        {</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> ConstSignalSource&lt;T&gt;(value);</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;        }</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;        [RewriteCreateConstSignalSource]</div>
<div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_signal_source.html#a754b5528cdadf9fe0098778ed086a0d8">  519</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a> <a class="code" href="class_system_sharp_1_1_components_1_1_signal_source.html#a754b5528cdadf9fe0098778ed086a0d8">CreateUT</a>(<span class="keywordtype">object</span> value)</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;        {</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> ConstSignalSource(value);</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;        }</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;    }</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;</div>
<div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_processes.html">  528</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_components_1_1_processes.html">Processes</a></div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;    {</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>DrivingProcess : <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a></div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        {</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a> DrivenSignal { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a> Source { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;            <span class="keyword">public</span> Action Operation { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;ISignal&gt; DrivenSignals { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;            {</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> Source.Sensitivity; }</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;            }</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;            <span class="keyword">public</span> DrivingProcess(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a> drivenSignal, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a> source)</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;            {</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;                DrivenSignal = drivenSignal;</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;                Source = source;</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;                Operation = () =&gt; DrivenSignal.NextObject = source.<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html#a1daee36440968f8a50af663c42661d5f">Operation</a>();</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;                DrivenSignals = <span class="keyword">new</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a>[] { drivenSignal };</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;            }</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">void</span> Implement(<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html">IAlgorithmBuilder</a> builder)</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;            {</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;                <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a> idesc = (<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a>)DrivenSignal;</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;                <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> desc = (<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a>)idesc.<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html#a0bd97647199ee83c6282575c7f1b29ba">Descriptor</a>;</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;                builder.<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html#a846ababf72955f391dc848a9b8cef964">Store</a>(DrivenSignal.ToSignalRef(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#ac2602b9335fc17657b0147b8b917c727">EReferencedProperty</a>.Next),</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;                    Source.GetExpression());</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;            }</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;        }</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>DrivingProcess&lt;T&gt; : <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a></div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;        {</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> DrivenSignal { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;            <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> Source { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;            <span class="keyword">public</span> Action Operation { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;ISignal&gt; DrivenSignals { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity</div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;            {</div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> Source.Sensitivity; }</div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;            }</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;            <span class="keyword">public</span> DrivingProcess(<a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> drivenSignal, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> source)</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;            {</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;                DrivenSignal = drivenSignal;</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;                Source = source;</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;                Operation = () =&gt; DrivenSignal.Next = source.<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html#af6ebed722447380f6c1566ce72bc638a">Operation</a>();</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;                DrivenSignals = <span class="keyword">new</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a>[] { (<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a>)drivenSignal };</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;            }</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">void</span> Implement(<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html">IAlgorithmBuilder</a> builder)</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;            {</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;                <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a> idesc = (<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a>)DrivenSignal;</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;                <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> desc = (<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a>)idesc.<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html#a0bd97647199ee83c6282575c7f1b29ba">Descriptor</a>;</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;                builder.<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html#a846ababf72955f391dc848a9b8cef964">Store</a>(</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;                    ((<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a>)DrivenSignal).ToSignalRef(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#ac2602b9335fc17657b0147b8b917c727">EReferencedProperty</a>.Next),</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;                    Source.GetExpression());</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;            }</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;        }</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;</div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>ParProcess : <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a></div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;        {</div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;IProcess&gt; ProcessDefs { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;            <span class="keyword">public</span> Action Operation { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;            {</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> ProcessDefs.SelectMany(p =&gt; p.Sensitivity); }</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;            }</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;ISignal&gt; DrivenSignals</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;            {</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> ProcessDefs.SelectMany(p =&gt; p.DrivenSignals);  }</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;            }</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;            <span class="keyword">private</span> <span class="keywordtype">void</span> ExecOperation()</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;            {</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;                <span class="keywordflow">foreach</span> (<a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> p <span class="keywordflow">in</span> ProcessDefs)</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;                    p.Operation();</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;            }</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;            <span class="keyword">public</span> ParProcess(<a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> p1, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> p2)</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;            {</div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;                ProcessDefs = <span class="keyword">new</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a>[] { p1, p2 };</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;                Operation = ExecOperation;</div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;            }</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;            <span class="keyword">public</span> ParProcess(IEnumerable&lt;IProcess&gt; <a class="code" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8a8812c36aa5ae336c2a77bf63211d899a">ps</a>)</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;            {</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;                ProcessDefs = ps;</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;                Operation = ExecOperation;</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;            }</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">void</span> Implement(<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html">IAlgorithmBuilder</a> builder)</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;            {</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;                <span class="keywordflow">foreach</span> (<a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> p <span class="keywordflow">in</span> ProcessDefs)</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;                    p.Implement(builder);</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;            }</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;        }</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>NilProcess : <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a></div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;        {</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;            <span class="keyword">private</span> <span class="keywordtype">void</span> Nop()</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;            {</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;            }</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;            <span class="keyword">public</span> Action Operation</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;            {</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> Nop; }</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;            }</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;ISignal&gt; DrivenSignals</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;            {</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> Enumerable.Empty&lt;<a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a>&gt;(); }</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;            }</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;            <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity</div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;            {</div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;                <span class="keyword">get</span> { <span class="keywordflow">return</span> Enumerable.Empty&lt;<a class="code" href="class_system_sharp_1_1_components_1_1_abstract_event.html">AbstractEvent</a>&gt;(); }</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;            }</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">void</span> Implement(<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html">IAlgorithmBuilder</a> builder)</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;            {</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;            }</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;        }</div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;</div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation.html">StaticEvaluation</a>]</div>
<div class="line"><a name="l00660"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_processes.html#abb0b8e784210126988b81567521286e9">  660</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> Drive&lt;T&gt;(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> signal, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">ISignalSource&lt;T&gt;</a> source)</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;        {</div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;            Contract.Requires(signal != null);</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;            Contract.Requires(source != null);</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> DrivingProcess&lt;T&gt;(signal, source);</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;        }</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation.html">StaticEvaluation</a>]</div>
<div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_processes.html#a773da60bc262c232caede2f05a3d4530">  671</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> <a class="code" href="class_system_sharp_1_1_components_1_1_processes.html#a773da60bc262c232caede2f05a3d4530">DriveUT</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal.html">ISignal</a> signal, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">ISignalSource</a> source)</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;        {</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;            Contract.Requires(signal != null);</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;            Contract.Requires(source != null);</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> DrivingProcess(signal, source);</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;        }</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation.html">StaticEvaluation</a>]</div>
<div class="line"><a name="l00684"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_processes.html#a08ec7fab66c71658506e2cd5cd2d1b9b">  684</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> Stick&lt;T&gt;(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">Out&lt;T&gt;</a> signal, T value)</div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;        {</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;            Contract.Requires(signal != null);</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;            <span class="keywordflow">return</span> Drive(signal, <a class="code" href="class_system_sharp_1_1_components_1_1_signal_source.html">SignalSource</a>.Create(value));</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;        }</div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation.html">StaticEvaluation</a>]</div>
<div class="line"><a name="l00694"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_processes.html#a51014cfa0f75321e668afdd7b0af453c">  694</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> <a class="code" href="class_system_sharp_1_1_components_1_1_processes.html#a51014cfa0f75321e668afdd7b0af453c">Par</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> first, <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> second)</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;        {</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;            Contract.Requires(first != null);</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;            Contract.Requires(second != null);</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> ParProcess(first, second);</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;        }</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation.html">StaticEvaluation</a>]</div>
<div class="line"><a name="l00706"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_processes.html#a4a0de94e9b0e89be5f8630c1e85d0735">  706</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> <a class="code" href="class_system_sharp_1_1_components_1_1_processes.html#a4a0de94e9b0e89be5f8630c1e85d0735">Fork</a>(params <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a>[] ps)</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;        {</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;            Contract.Requires(ps != null);</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;            Contract.Requires(ps.All(p =&gt; p != null));</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> ParProcess(ps);</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;        }</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;        [<a class="code" href="class_system_sharp_1_1_components_1_1_static_evaluation.html">StaticEvaluation</a>]</div>
<div class="line"><a name="l00717"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_processes.html#a364f3cc61007a0337e6982eb75457f89">  717</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> <a class="code" href="class_system_sharp_1_1_components_1_1_processes.html#a364f3cc61007a0337e6982eb75457f89">Nil</a>()</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;        {</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> NilProcess();</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;        }</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;    }</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;</div>
<div class="line"><a name="l00726"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_lazy_process.html">  726</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_components_1_1_lazy_process.html">LazyProcess</a> : <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a></div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;    {</div>
<div class="line"><a name="l00731"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_lazy_process.html#a72431b91c97c4ee5c5cef9346f6f01fe">  731</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> ProcessDef { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;<span class="preprocessor">        #region IProcess Member</span></div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;        <span class="keyword">public</span> Action Operation</div>
<div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_lazy_process.html#aa1e59b59b8ec7ad4d2e43bf5a8b6130b">  736</a></span>&#160;        {</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> ProcessDef.Operation; }</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;        }</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;ISignal&gt; DrivenSignals</div>
<div class="line"><a name="l00741"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_lazy_process.html#a267d09510e84a52395e3a1675f6ae959">  741</a></span>&#160;        {</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> ProcessDef.DrivenSignals; }</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;        }</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;<span class="preprocessor">        #endregion</span></div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;<span class="preprocessor">        #region ISensitive Member</span></div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;AbstractEvent&gt; Sensitivity</div>
<div class="line"><a name="l00750"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_lazy_process.html#ab02baa5ddb2f6572294eae7c597dbc6d">  750</a></span>&#160;        {</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> ProcessDef.Sensitivity; }</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;        }</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;<span class="preprocessor">        #endregion</span></div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;<span class="preprocessor">        #region IImplementable Member</span></div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00758"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_lazy_process.html#a4f1143fe03085d2da84da7f77ad4d85e">  758</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_components_1_1_lazy_process.html#a4f1143fe03085d2da84da7f77ad4d85e">Implement</a>(<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html">IAlgorithmBuilder</a> builder)</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;        {</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;            <span class="keywordflow">if</span> (ProcessDef == null)</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;                <span class="keywordflow">throw</span> <span class="keyword">new</span> InvalidOperationException(<span class="stringliteral">&quot;No valid process definition&quot;</span>);</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;            ProcessDef.Implement(builder);</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;        }</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;<span class="preprocessor">        #endregion</span></div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;<span class="preprocessor"></span>    }</div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;</div>
<div class="line"><a name="l00772"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process_failed_exception.html">  772</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_components_1_1_process_failed_exception.html">ProcessFailedException</a> : Exception</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    {</div>
<div class="line"><a name="l00777"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process_failed_exception.html#afe13a54a9149d01b06bf4cb35f46e97a">  777</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_process.html">Process</a> Failee { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;</div>
<div class="line"><a name="l00784"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process_failed_exception.html#a76c7560a2ba483fcd43e226e6ceb28fb">  784</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_process_failed_exception.html#a76c7560a2ba483fcd43e226e6ceb28fb">ProcessFailedException</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_process.html">Process</a> process, Exception cause) :</div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;            base(<span class="stringliteral">&quot;Process &quot;</span> + process.Name + <span class="stringliteral">&quot; failed&quot;</span>, cause)</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;        {</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;            Failee = process;</div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;        }</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;    }</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;</div>
<div class="line"><a name="l00794"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html">  794</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_components_1_1_process.html">Process</a> : <a class="code" href="class_system_sharp_1_1_components_1_1_design_object.html">DesignObject</a></div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;    {</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>StopThreadException : Exception</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;        {</div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;        }</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;</div>
<div class="line"><a name="l00807"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#abe8ad6117328f0ed4386eb9f95036615">  807</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="class_system_sharp_1_1_components_1_1_process.html#abe8ad6117328f0ed4386eb9f95036615">EProcessKind</a></div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;        {</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;            Triggered,</div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;            Threaded</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;        }</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;</div>
<div class="line"><a name="l00825"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#ad01c9a36217b665434c77a05c8c70766">  825</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code" href="class_system_sharp_1_1_components_1_1_event.html">Event</a>[] EmptySensitivity = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_components_1_1_event.html">Event</a>[0];</div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;</div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;        <span class="keyword">internal</span> <a class="code" href="class_system_sharp_1_1_components_1_1_process.html">Process</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a> owner, <a class="code" href="class_system_sharp_1_1_components_1_1_process.html#abe8ad6117328f0ed4386eb9f95036615">EProcessKind</a> kind, Action <span class="keyword">function</span>)</div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;        {</div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;            Owner = owner;</div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;            Kind = kind;</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;            InitialAction = <span class="keyword">function</span>;</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;            Context.OnStartOfSimulation += OnStartOfSimulation;</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;            _analysisGeneration = Context.CurrentRefinementCycle;</div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;        }</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;</div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l00846"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#a20782cd0d4e9d2fc313b5c9b7c549ea9">  846</a></span>&#160;        {</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;            {</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;                <span class="keywordflow">return</span> InitialAction.Method.DeclaringType.Name + <span class="stringliteral">&quot;.&quot;</span> + InitialAction.Method.Name;</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;            }</div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;        }</div>
<div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;</div>
<div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_components_1_1_abstract_event.html">AbstractEvent</a>[] _sensitivity;</div>
<div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;</div>
<div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">object</span>[] _localStorage;</div>
<div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;</div>
<div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;        <span class="keyword">private</span> <span class="keyword">event</span> Action _preWaitAction;</div>
<div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;        <span class="keyword">private</span> <span class="keyword">event</span> Action _postWaitAction;</div>
<div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;        <span class="keyword">private</span> <a class="code" href="interface_system_sharp_1_1_components_1_1_i_process.html">IProcess</a> _duringProcess;</div>
<div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;        <span class="comment">//private TransactingComponent.TATarget[] _coFSMs;</span></div>
<div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;</div>
<div class="line"><a name="l00871"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#a93de3ff96241938372856cb1c58c0ea3">  871</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a> Owner { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;</div>
<div class="line"><a name="l00876"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#a2ec8ca917566e649fdc2507fecf1aef0">  876</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_process.html#abe8ad6117328f0ed4386eb9f95036615">EProcessKind</a> Kind { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;</div>
<div class="line"><a name="l00881"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#ae9e620b77dc75923d62cd7743d4d5ef2">  881</a></span>&#160;        <span class="keyword">public</span> Action CurrentContinuation { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00882"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#a05456efddc251a7df504ca041d77054b">  882</a></span>&#160;        <span class="keyword">public</span> Action InitialAction { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;</div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_abstract_event.html">AbstractEvent</a>[] Sensitivity</div>
<div class="line"><a name="l00888"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#acd1831e67cad2d97f8c82236790e43d7">  888</a></span>&#160;        {</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;            {</div>
<div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;                <span class="keywordflow">return</span> _sensitivity;</div>
<div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;            }</div>
<div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;            <span class="keyword">internal</span> set</div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;            {</div>
<div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;                _sensitivity = value;</div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;            }</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;        }</div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;</div>
<div class="line"><a name="l00899"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#a9db93b2b724775bf5e3997a336f63165">  899</a></span>&#160;        <span class="keyword">public</span> Func&lt;bool&gt; Predicate { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> SetContinuation(Action cont)</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;        {</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;            CurrentContinuation -= cont;</div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;            CurrentContinuation += cont;</div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;        }</div>
<div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;</div>
<div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> TopLevelWrapperThreaded()</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;        {</div>
<div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;            <span class="keywordflow">try</span></div>
<div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;            {</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;                Context.CurrentProcess = <span class="keyword">this</span>;</div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;                InitialAction();</div>
<div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;                <span class="keywordflow">if</span> (CurrentContinuation == null)</div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;                {</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;                    <span class="keywordflow">throw</span> <span class="keyword">new</span> InvalidOperationException(<span class="stringliteral">&quot;Busy process: &quot;</span> + Name);</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;                }</div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;            }</div>
<div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;            <span class="keywordflow">catch</span> (StopThreadException)</div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;            {</div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;            }</div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;        }</div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;</div>
<div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;        <span class="keyword">private</span> async <span class="keywordtype">void</span> TopLevelWrapperTriggered()</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;        {</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;            <span class="keywordflow">try</span></div>
<div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;            {</div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;                <span class="keywordflow">while</span> (<span class="keyword">true</span>)</div>
<div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;                {</div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;                    Context.CurrentProcess = <span class="keyword">this</span>;</div>
<div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;                    InitialAction();</div>
<div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;                    var me = <span class="keyword">new</span> MultiEvent(null, Sensitivity);</div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;                    await me; <span class="comment">//await Sensitivity; would be &quot;nicer&quot;, but does not compile even though an awaitable ExtensionMethod is declared for an Array of AbstractEvents</span></div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;                }</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;            }</div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;            <span class="keywordflow">catch</span> (StopThreadException)</div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;            {</div>
<div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;            }</div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;        }</div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> ContinueProcess()</div>
<div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;        {</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;            <span class="keywordflow">try</span></div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;            {</div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;                Context.CurrentProcess = <span class="keyword">this</span>;</div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;                var cc = CurrentContinuation;</div>
<div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;                CurrentContinuation = null;</div>
<div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;                cc();</div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;                <span class="keywordflow">if</span> (CurrentContinuation == null)</div>
<div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;                    TopLevelWrapperThreaded();</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;            }</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;            <span class="keywordflow">catch</span> (StopThreadException)</div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;            {</div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;            }</div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;        }</div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;</div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;        <span class="keyword">private</span> Exception WrapException(Exception e)</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;        {</div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;            <span class="keywordflow">if</span> (e is BarrierPostPhaseException)</div>
<div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;                <span class="keywordflow">return</span> WrapException(e.InnerException);</div>
<div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;            <span class="keywordflow">else</span> <span class="keywordflow">if</span> (e is ProcessFailedException)</div>
<div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;                <span class="keywordflow">return</span> e;</div>
<div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">new</span> ProcessFailedException(<span class="keyword">this</span>, e);</div>
<div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;        }</div>
<div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;</div>
<div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> OnStartOfSimulation()</div>
<div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;        {</div>
<div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;        }</div>
<div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;</div>
<div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> Schedule(<span class="keywordtype">long</span> delta)</div>
<div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;        {</div>
<div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;            <span class="keywordflow">if</span> (Kind == EProcessKind.Threaded)</div>
<div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;                Context.Schedule(TopLevelWrapperThreaded, delta);</div>
<div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;                Context.Schedule(TopLevelWrapperTriggered, delta);</div>
<div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;        }</div>
<div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;</div>
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> InitLocalStorage(<span class="keywordtype">int</span> numSlots)</div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;        {</div>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;            _localStorage = <span class="keyword">new</span> <span class="keywordtype">object</span>[numSlots];</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;        }</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;</div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">object</span> GetLocal(<span class="keywordtype">int</span> slot)</div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;        {</div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;            <span class="keywordflow">return</span> _localStorage[slot];</div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;        }</div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> StoreLocal(<span class="keywordtype">int</span> slot, <span class="keywordtype">object</span> value)</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;        {</div>
<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;            _localStorage[slot] = value;</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;        }</div>
<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;</div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> EnsureThreaded()</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;        {</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;            <span class="comment">//if (Kind != EProcessKind.Threaded)</span></div>
<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;            <span class="comment">//    throw new InvalidOperationException(&quot;await is only allowed within a threaded process.&quot;);</span></div>
<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160;        }</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;</div>
<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> Log(<span class="keywordtype">string</span> text)</div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;        {</div>
<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;            Console.WriteLine(<span class="stringliteral">&quot;&gt; &quot;</span> + Kind.ToString() + <span class="stringliteral">&quot; process &quot;</span> + InitialAction.Method.DeclaringType.Name + <span class="stringliteral">&quot;.&quot;</span> + InitialAction.Method.Name + <span class="stringliteral">&quot;: &quot;</span> + text);</div>
<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;        }</div>
<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;</div>
<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;        [Obsolete(<span class="stringliteral">&quot;not supported anymore&quot;</span>, <span class="keyword">true</span>)]</div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> Wait(Time delta)</div>
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;        {</div>
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;</div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;            <span class="comment">//EnsureThreaded();</span></div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;            <span class="comment">//await delta;</span></div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;        }</div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;</div>
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;        [Obsolete(<span class="stringliteral">&quot;not supported anymore&quot;</span>, <span class="keyword">true</span>)]</div>
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> Wait(params AbstractEvent[] events)</div>
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;        {</div>
<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;</div>
<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;            <span class="comment">//EnsureThreaded();</span></div>
<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;            <span class="comment">//await new MultiEvent(null, events);</span></div>
<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;        }</div>
<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;</div>
<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;        [Obsolete(<span class="stringliteral">&quot;not supported anymore&quot;</span>, <span class="keyword">true</span>)]</div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> Wait()</div>
<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;        {</div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;</div>
<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;            <span class="comment">//EnsureThreaded();</span></div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;</div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;            <span class="comment">//if (Predicate == null)</span></div>
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;            <span class="comment">//{</span></div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;            <span class="comment">//    throw new StopThreadException();</span></div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;            <span class="comment">//}</span></div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;</div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;            <span class="comment">//if (_preWaitAction != null)</span></div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;            <span class="comment">//    _preWaitAction();</span></div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;            <span class="comment">//AbstractEvent[] sens;</span></div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;            <span class="comment">//if (_duringProcess != null)</span></div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;            <span class="comment">//{</span></div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;            <span class="comment">//    _duringProcess.Operation();</span></div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;            <span class="comment">//    sens = Sensitivity.Concat(_duringProcess.Sensitivity).ToArray();</span></div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;            <span class="comment">//}</span></div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;            <span class="comment">//else</span></div>
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;            <span class="comment">//{</span></div>
<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;            <span class="comment">//    sens = Sensitivity;</span></div>
<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;            <span class="comment">//}</span></div>
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;</div>
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;            <span class="comment">//do</span></div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;            <span class="comment">//{</span></div>
<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;            <span class="comment">//    await new MultiEvent(null, sens);</span></div>
<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;            <span class="comment">//    if (_duringProcess != null)</span></div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;            <span class="comment">//    {</span></div>
<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;            <span class="comment">//        _duringProcess.Operation();</span></div>
<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160;            <span class="comment">//    }</span></div>
<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;            <span class="comment">//} while (!Predicate());</span></div>
<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;            <span class="comment">//if (_postWaitAction != null)</span></div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;            <span class="comment">//    _postWaitAction();</span></div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;        }</div>
<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;</div>
<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;        [Obsolete(<span class="stringliteral">&quot;not supported anymore&quot;</span>, <span class="keyword">true</span>)]</div>
<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> Wait(IProcess during)</div>
<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;        {</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;</div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;            <span class="comment">//Contract.Requires(during != null);</span></div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;            <span class="comment">//RegisterDuringAction(during);</span></div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;            <span class="comment">//Wait();</span></div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;        }</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;</div>
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> Stop()</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;        {</div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;            <span class="keywordflow">throw</span> <span class="keyword">new</span> StopThreadException();</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;        }</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;        [Obsolete(<span class="stringliteral">&quot;Transaction concept need to be redesigned, method will be without effect.&quot;</span>)]</div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> RegisterPreWaitAction(Action a)</div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;        {</div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;            _preWaitAction += a;</div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;        }</div>
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;        [Obsolete(<span class="stringliteral">&quot;Transaction concept need to be redesigned, method will be without effect.&quot;</span>)]</div>
<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> RegisterPostWaitAction(Action a)</div>
<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;        {</div>
<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;            _postWaitAction += a;</div>
<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;        }</div>
<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;</div>
<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> RegisterDuringAction(IProcess action)</div>
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;        {</div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;            Contract.Requires(action != null);</div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;            <span class="keywordflow">if</span> (_duringProcess == null)</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;                _duringProcess = action;</div>
<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;                _duringProcess = _duringProcess.Par(action);</div>
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;        }</div>
<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;</div>
<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;<span class="preprocessor">#if false</span></div>
<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;<span class="preprocessor"></span>        <span class="keyword">internal</span> <span class="keywordtype">void</span> RegisterCoFSMs(TransactingComponent.TATarget[] targets)</div>
<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;        {</div>
<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;            _coFSMs = targets;</div>
<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;            <span class="keywordflow">foreach</span> (TransactingComponent.TATarget tat in targets)</div>
<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;            {</div>
<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;                tat.Register(<span class="keyword">this</span>);</div>
<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;            }</div>
<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;        }</div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;        <span class="keyword">internal</span> TransactingComponent.TATarget[] GetCoFSMs()</div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;        {</div>
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;            <span class="keywordflow">return</span> _coFSMs;</div>
<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;        }</div>
<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> IsDoNotAnalyze</div>
<div class="line"><a name="l01167"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_components_1_1_process.html#a876101ec73dbe1ebb98b3efb588f664b"> 1167</a></span>&#160;        {</div>
<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> InitialAction.Method.HasCustomOrInjectedAttribute&lt;<a class="code" href="interface_system_sharp_1_1_components_1_1_i_do_not_analyze.html">IDoNotAnalyze</a>&gt;(); }</div>
<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;        }</div>
<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;</div>
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">int</span> _analysisGeneration;</div>
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">int</span> AnalysisGeneration</div>
<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;        {</div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _analysisGeneration; }</div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;            set { _analysisGeneration = value; }</div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;        }</div>
<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;    }</div>
<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;}</div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_processes_html_a51014cfa0f75321e668afdd7b0af453c"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_processes.html#a51014cfa0f75321e668afdd7b0af453c">SystemSharp.Components.Processes.Par</a></div><div class="ttdeci">static IProcess Par(this IProcess first, IProcess second)</div><div class="ttdoc">Represents the two individual processes first  and second  as a single entity. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00694">ProcessCore.cs:694</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_rewrite_declaration_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_rewrite_declaration.html">SystemSharp.Components.RewriteDeclaration</a></div><div class="ttdoc">If this attribute is attached to an interface, struct or class, it instructs the model analysis to tr...</div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l00041">ComponentsAttributes.cs:41</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_processes_html_a773da60bc262c232caede2f05a3d4530"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_processes.html#a773da60bc262c232caede2f05a3d4530">SystemSharp.Components.Processes.DriveUT</a></div><div class="ttdeci">static IProcess DriveUT(this ISignal signal, ISignalSource source)</div><div class="ttdoc">Creates a process which represents transferring the data of source  to signal . </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00671">ProcessCore.cs:671</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_lazy_process_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_lazy_process.html">SystemSharp.Components.LazyProcess</a></div><div class="ttdoc">A placeholder for a process which is created at some later stage. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00726">ProcessCore.cs:726</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_processes_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_processes.html">SystemSharp.Components.Processes</a></div><div class="ttdoc">This static class provides convenience methods to work with process models. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00528">ProcessCore.cs:528</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_event_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_event.html">SystemSharp.Components.Event</a></div><div class="ttdoc">Event implementation </div><div class="ttdef"><b>Definition:</b> <a href="_event_8cs_source.html#l00087">Event.cs:87</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_sync_signal_sink_3_01_t_01_4_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_sync_signal_sink_3_01_t_01_4.html">SystemSharp.Components.ISyncSignalSink&lt; T &gt;</a></div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00133">ProcessCore.cs:133</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_static_evaluation_do_not_analyze.html">SystemSharp.Components.StaticEvaluationDoNotAnalyze</a></div><div class="ttdoc">Indicates that the tagged method should not be analyzed for side effects and moreover be statically e...</div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l00803">ComponentsAttributes.cs:803</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_sys_d_o_m_1_1_i_function_builder_html"><div class="ttname"><a href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_function_builder.html">SystemSharp.SysDOM.IFunctionBuilder</a></div><div class="ttdoc">Extends the algorithm builder interface by the capability of creating a SysDOM function. </div><div class="ttdef"><b>Definition:</b> <a href="_algorithms_8cs_source.html#l01810">Algorithms.cs:1810</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_signal_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_signal.html">SystemSharp.Components.ISignal</a></div><div class="ttdoc">Interface definition for signals </div><div class="ttdef"><b>Definition:</b> <a href="_signals_core_8cs_source.html#l00294">SignalsCore.cs:294</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder_html_a846ababf72955f391dc848a9b8cef964"><div class="ttname"><a href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html#a846ababf72955f391dc848a9b8cef964">SystemSharp.SysDOM.IAlgorithmBuilder.Store</a></div><div class="ttdeci">void Store(IStorableLiteral var, Expression val)</div><div class="ttdoc">Emits an assignment. </div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_lazy_process_html_a4f1143fe03085d2da84da7f77ad4d85e"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_lazy_process.html#a4f1143fe03085d2da84da7f77ad4d85e">SystemSharp.Components.LazyProcess.Implement</a></div><div class="ttdeci">void Implement(IAlgorithmBuilder builder)</div><div class="ttdoc">Implements the behavior of this object on an algorithm builder. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00758">ProcessCore.cs:758</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_process_failed_exception_html_a76c7560a2ba483fcd43e226e6ceb28fb"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_process_failed_exception.html#a76c7560a2ba483fcd43e226e6ceb28fb">SystemSharp.Components.ProcessFailedException.ProcessFailedException</a></div><div class="ttdeci">ProcessFailedException(Process process, Exception cause)</div><div class="ttdoc">Constructs an instance of a ProcessFailedException </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00784">ProcessCore.cs:784</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_descriptive_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">SystemSharp.Meta.IDescriptive</a></div><div class="ttdoc">Interface for all objects which are described by a descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00768">ComponentsReflection.cs:768</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html_ac2602b9335fc17657b0147b8b917c727"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#ac2602b9335fc17657b0147b8b917c727">SystemSharp.SysDOM.SignalRef.EReferencedProperty</a></div><div class="ttdeci">EReferencedProperty</div><div class="ttdoc">Selects, which property of the signal is referenced </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00504">Literals.cs:504</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_signal_sink_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_signal_sink.html">SystemSharp.Components.SignalSink</a></div><div class="ttdoc">This static class provides convenience methods to work with signal sinks. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00200">ProcessCore.cs:200</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_expression_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">SystemSharp.SysDOM.Expression</a></div><div class="ttdoc">An expression. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l01096">CoreAlgebraic.cs:1096</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html">SystemSharp.Components.ISignalSource&lt; T &gt;</a></div><div class="ttdoc">A typed signal source is a &quot;more flexible&quot; signal. It has a sensitivity, a function which provides th...</div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00110">ProcessCore.cs:110</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_process_failed_exception_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_process_failed_exception.html">SystemSharp.Components.ProcessFailedException</a></div><div class="ttdoc">This class is used internally to wrap exceptions which are potentially thrown by a process...</div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00772">ProcessCore.cs:772</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_redirect_rewrite_call_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_redirect_rewrite_call.html">SystemSharp.Components.RedirectRewriteCall</a></div><div class="ttdoc">Indicates that calls to the tagged abstract or virtual method should be rewritten during decompilatio...</div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l01266">ComponentsAttributes.cs:1266</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_abstract_event_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_abstract_event.html">SystemSharp.Components.AbstractEvent</a></div><div class="ttdoc">Abstract base class for events </div><div class="ttdef"><b>Definition:</b> <a href="_event_8cs_source.html#l00035">Event.cs:35</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_static_evaluation_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_static_evaluation.html">SystemSharp.Components.StaticEvaluation</a></div><div class="ttdoc">This attribute declares a method to be suitable for static evaluation. Non-void methods only...</div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l00703">ComponentsAttributes.cs:703</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder_html"><div class="ttname"><a href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_algorithm_builder.html">SystemSharp.SysDOM.IAlgorithmBuilder</a></div><div class="ttdoc">Algorithm builder interface for meta-programming. </div><div class="ttdef"><b>Definition:</b> <a href="_algorithms_8cs_source.html#l01634">Algorithms.cs:1634</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_components_html_a00364849637999f74d55598b116750c8a8812c36aa5ae336c2a77bf63211d899a"><div class="ttname"><a href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8a8812c36aa5ae336c2a77bf63211d899a">SystemSharp.Components.ps</a></div><div class="ttdoc">pico-seconds </div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_signal_sink_3_01_t_01_4.html">SystemSharp.Components.ISignalSink&lt; T &gt;</a></div><div class="ttdoc">Models a signal sink (ICombSignalSink&lt;T&gt;). The existense of the two interfaces ICombSignalSink&lt;T&gt; is ...</div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00144">ProcessCore.cs:144</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_implementable_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_implementable.html">SystemSharp.Components.IImplementable</a></div><div class="ttdoc">Interface for anything which supports implementation on an algorithm builder </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00051">ProcessCore.cs:51</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_do_not_analyze_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_do_not_analyze.html">SystemSharp.Components.IDoNotAnalyze</a></div><div class="ttdoc">Marker interface for methods which must not be included into system analysis. </div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l01234">ComponentsAttributes.cs:1234</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_process_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_process.html">SystemSharp.Components.IProcess</a></div><div class="ttdoc">Interface model of a process </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00078">ProcessCore.cs:78</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html">SystemSharp.Meta.CodeDescriptor</a></div><div class="ttdoc">This abstract class describes code in the CLI and SysDOM domain. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01472">ComponentsReflection.cs:1472</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_process_html_abe8ad6117328f0ed4386eb9f95036615"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_process.html#abe8ad6117328f0ed4386eb9f95036615">SystemSharp.Components.Process.EProcessKind</a></div><div class="ttdeci">EProcessKind</div><div class="ttdoc">Describes the kind of the process. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00807">ProcessCore.cs:807</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_hide_declaration_html_a875e32e7e2851b797b67f03123df93e2"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_hide_declaration.html#a875e32e7e2851b797b67f03123df93e2">SystemSharp.Components.HideDeclaration.ImplementDeclaration</a></div><div class="ttdeci">override void ImplementDeclaration(DescriptorBase container, System.Reflection.MemberInfo declSite)</div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00187">ProcessCore.cs:187</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_in_3_01_t_01_4_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_in_3_01_t_01_4.html">SystemSharp.Components.In&lt; T &gt;</a></div><div class="ttdoc">This interface models a signal input port of a specific data type. </div><div class="ttdef"><b>Definition:</b> <a href="_signals_core_8cs_source.html#l00070">SignalsCore.cs:70</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_processes_html_a364f3cc61007a0337e6982eb75457f89"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_processes.html#a364f3cc61007a0337e6982eb75457f89">SystemSharp.Components.Processes.Nil</a></div><div class="ttdeci">static IProcess Nil()</div><div class="ttdoc">Creates an empty process. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00717">ProcessCore.cs:717</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_signal_source_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_signal_source.html">SystemSharp.Components.ISignalSource</a></div><div class="ttdoc">A signal source is a &quot;more flexible&quot; signal. It has a sensitivity, a function which provides the curr...</div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00096">ProcessCore.cs:96</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_analysis_1_1_i_decompiler_html"><div class="ttname"><a href="interface_system_sharp_1_1_analysis_1_1_i_decompiler.html">SystemSharp.Analysis.IDecompiler</a></div><div class="ttdoc">This interface models the decompiler functionality. It is intended to be used inside method rewriters...</div><div class="ttdef"><b>Definition:</b> <a href="_m_s_i_l_decompiler_8cs_source.html#l00666">MSILDecompiler.cs:666</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4_html_a915e743cda908b484b7d855b1cb5099b"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html#a915e743cda908b484b7d855b1cb5099b">SystemSharp.Components.DefaultSignalSink&lt; T &gt;.DefaultSignalSink</a></div><div class="ttdeci">DefaultSignalSink(ICombSignalSink&lt; T &gt; comb)</div><div class="ttdoc">Creates a new instance based on a signal sink. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00168">ProcessCore.cs:168</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_signal_source_html_a754b5528cdadf9fe0098778ed086a0d8"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_signal_source.html#a754b5528cdadf9fe0098778ed086a0d8">SystemSharp.Components.SignalSource.CreateUT</a></div><div class="ttdeci">static ISignalSource CreateUT(object value)</div><div class="ttdoc">Creates a constant-valued signal source. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00519">ProcessCore.cs:519</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4_html_ac201cae97512079b236b6d2a18b99a48"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html#ac201cae97512079b236b6d2a18b99a48">SystemSharp.Components.DefaultSignalSink&lt; T &gt;.DefaultSignalSink</a></div><div class="ttdeci">DefaultSignalSink(ISyncSignalSink&lt; T &gt; sync)</div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00174">ProcessCore.cs:174</a></div></div>
<div class="ttc" id="struct_system_sharp_1_1_analysis_1_1_stack_element_html_a6242e45d8a7ad9605b98940dc8b0815c"><div class="ttname"><a href="struct_system_sharp_1_1_analysis_1_1_stack_element.html#a6242e45d8a7ad9605b98940dc8b0815c">SystemSharp.Analysis.StackElement.Sample</a></div><div class="ttdeci">object Sample</div><div class="ttdoc">Sample value </div><div class="ttdef"><b>Definition:</b> <a href="_m_s_i_l_decompiler_8cs_source.html#l00607">MSILDecompiler.cs:607</a></div></div>
<div class="ttc" id="struct_system_sharp_1_1_analysis_1_1_stack_element_html"><div class="ttname"><a href="struct_system_sharp_1_1_analysis_1_1_stack_element.html">SystemSharp.Analysis.StackElement</a></div><div class="ttdoc">This structure represents a stack element, which is identified by a symbolic expression and a value s...</div><div class="ttdef"><b>Definition:</b> <a href="_m_s_i_l_decompiler_8cs_source.html#l00597">MSILDecompiler.cs:597</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_signal_base_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_signal_base.html">SystemSharp.Components.SignalBase</a></div><div class="ttdoc">This is the abstract base class of a signal. </div><div class="ttdef"><b>Definition:</b> <a href="_signals_core_8cs_source.html#l00338">SignalsCore.cs:338</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_implementable_by_expr_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_implementable_by_expr.html">SystemSharp.Components.IImplementableByExpr</a></div><div class="ttdoc">Interface for anything whose behavior can be represented by an expression. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00062">ProcessCore.cs:62</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_processes_html_a4a0de94e9b0e89be5f8630c1e85d0735"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_processes.html#a4a0de94e9b0e89be5f8630c1e85d0735">SystemSharp.Components.Processes.Fork</a></div><div class="ttdeci">static IProcess Fork(params IProcess[] ps)</div><div class="ttdoc">Represents multiple processes as a single entity. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00706">ProcessCore.cs:706</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_signal_source_html_a2ad81692595278a330a70018bec1e114"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_signal_source.html#a2ad81692595278a330a70018bec1e114">SystemSharp.Components.SignalSource.AsSignalSource</a></div><div class="ttdeci">static ISignalSource AsSignalSource(this ISignal signal)</div><div class="ttdoc">Represents signal  as signal source. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00498">ProcessCore.cs:498</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_rewrite_call_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_rewrite_call.html">SystemSharp.Components.RewriteCall</a></div><div class="ttdoc">If this attribute is attached to any method or constructor, it instructs the decompiler to treat any ...</div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l00181">ComponentsAttributes.cs:181</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_process_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_process.html">SystemSharp.Components.Process</a></div><div class="ttdoc">This class represents a process. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00794">ProcessCore.cs:794</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_meta_html_a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398"><div class="ttname"><a href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11da085fea7abdc5d904fe69a3081efd7398">SystemSharp.Meta.Signal</a></div><div class="ttdoc">System# SignalBase and all classes inheriting from it </div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">SystemSharp.Meta.ISignalOrPortDescriptor</a></div><div class="ttdoc">Represents the common properties of either a signal or a port. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01016">ComponentsReflection.cs:1016</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_sensitive_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_sensitive.html">SystemSharp.Components.ISensitive</a></div><div class="ttdoc">Interface for anything which has a sensitivity list </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00040">ProcessCore.cs:40</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_design_object_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_design_object.html">SystemSharp.Components.DesignObject</a></div><div class="ttdoc">The DesignObject is the abstract base class of M0 modeling classes, such as Component and Channel...</div><div class="ttdef"><b>Definition:</b> <a href="_components_core_8cs_source.html#l00045">ComponentsCore.cs:45</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_literal_reference_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_literal_reference.html">SystemSharp.SysDOM.LiteralReference</a></div><div class="ttdoc">A reference expression to a literal. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l02101">CoreAlgebraic.cs:2101</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_default_signal_sink_3_01_t_01_4.html">SystemSharp.Components.DefaultSignalSink&lt; T &gt;</a></div><div class="ttdoc">Default implementation of ISignalSink&lt;T&gt; </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00159">ProcessCore.cs:159</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_signal_source_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_signal_source.html">SystemSharp.Components.SignalSource</a></div><div class="ttdoc">This static class provides convenience methods to work with signal sources. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00329">ProcessCore.cs:329</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_signal_source_html_a1daee36440968f8a50af663c42661d5f"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_signal_source.html#a1daee36440968f8a50af663c42661d5f">SystemSharp.Components.ISignalSource.Operation</a></div><div class="ttdeci">Func&lt; object &gt; Operation</div><div class="ttdoc">Function providing current value </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00102">ProcessCore.cs:102</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4_html_af6ebed722447380f6c1566ce72bc638a"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_signal_source_3_01_t_01_4.html#af6ebed722447380f6c1566ce72bc638a">SystemSharp.Components.ISignalSource&lt; T &gt;.Operation</a></div><div class="ttdeci">new Func&lt; T &gt; Operation</div><div class="ttdoc">Function providing current value </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00116">ProcessCore.cs:116</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_hide_declaration_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_hide_declaration.html">SystemSharp.Components.HideDeclaration</a></div><div class="ttdoc">If this attribute is associated with a class or type declaration, any instance of the tagged type wil...</div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00185">ProcessCore.cs:185</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_i_comb_signal_sink_3_01_t_01_4_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_i_comb_signal_sink_3_01_t_01_4.html">SystemSharp.Components.ICombSignalSink&lt; T &gt;</a></div><div class="ttdoc">A signal sink is a possible destination of a signal. Connecting it to a signal source results in a pr...</div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00124">ProcessCore.cs:124</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SystemSharp.SysDOM.SignalRef</a></div><div class="ttdoc">Signal reference literal </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00498">Literals.cs:498</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_component_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_component.html">SystemSharp.Components.Component</a></div><div class="ttdoc">The abstract base class for defining components. </div><div class="ttdef"><b>Definition:</b> <a href="_component_8cs_source.html#l00038">Component.cs:38</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4_html"><div class="ttname"><a href="interface_system_sharp_1_1_components_1_1_out_3_01_t_01_4.html">SystemSharp.Components.Out&lt; T &gt;</a></div><div class="ttdoc">This interface models a signal output port of a specific data type. </div><div class="ttdef"><b>Definition:</b> <a href="_signals_core_8cs_source.html#l00092">SignalsCore.cs:92</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">SystemSharp.Meta.DescriptorBase</a></div><div class="ttdoc">Base implementation of any descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00362">ComponentsReflection.cs:362</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_descriptive_html_a0bd97647199ee83c6282575c7f1b29ba"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html#a0bd97647199ee83c6282575c7f1b29ba">SystemSharp.Meta.IDescriptive.Descriptor</a></div><div class="ttdeci">DescriptorBase Descriptor</div><div class="ttdoc">The descriptor for this instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00773">ComponentsReflection.cs:773</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_hide_declaration_html_acd088b05cd4080ac48d9b0f377a80733"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_hide_declaration.html#acd088b05cd4080ac48d9b0f377a80733">SystemSharp.Components.HideDeclaration.ImplementDeclaration</a></div><div class="ttdeci">override void ImplementDeclaration(LocalVariableInfo lvi, IDecompiler decomp)</div><div class="ttdoc">Implements the special treatment of a particular local variable. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00191">ProcessCore.cs:191</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bb5e995590685548b7e11478911ee7c3.html">SystemSharp-Google-SVN</a></li><li class="navelem"><a class="el" href="dir_8deefa4467a62b572b52d238d562b104.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_0e5a72156f8560bbc472a395da2569d6.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_9d3c30b4336bd92c64ccf0aeee487ace.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_2796d14d34df7db36a6563efa1efe523.html">Components</a></li><li class="navelem"><a class="el" href="_process_core_8cs.html">ProcessCore.cs</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:21:42 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
